//
//  BanBu_CollectionImageView.h
// Halfarea
//
//  Created by Wang Xj on 14-4-8.
//
//

#import <UIKit/UIKit.h>

@protocol CollectDelegate;

@interface BanBu_CollectionImageView : UIImageView

//图片的属性
@property (nonatomic, retain)NSDictionary * imageInfoDic;

@property (assign, nonatomic)id<CollectDelegate>delegate;
@property (assign, nonatomic)int index;//索引

//设置图片各属性
-(void)setImageInfo:(NSDictionary *)imageInfo;

@end


@protocol CollectDelegate <NSObject>

//查看大图
-(void)showBigImage:(BanBu_CollectionImageView *)collectView;

//选中
-(void)setSelectedView:(BanBu_CollectionImageView *)collectView;

//添加收藏
-(void)addCollectedEmo:(BanBu_CollectionImageView *)collectView;

//设置添加收藏按钮隐藏
-(void)setAddButtonViewHidden:(BanBu_CollectionImageView *)collectView withBool:(BOOL)hidden;

-(BOOL)getIsEditing;
@end